package org.wz.complex.work.bean;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.wz.complex.work.entity.auth.sysinfo.SysinfoMenu;
import org.wz.complex.work.entity.auth.sysinfo.SysinfoMicro;
import org.wz.complex.work.inters.CopyGroup;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Idinfo {

    @NotNull(groups = {CopyGroup.class} , message = "【id】不能为空！")
    @Min(value = 1L, groups = {CopyGroup.class}, message = "【id】必须 大于 1L")
    @Max(value = 100000000000L, groups = {CopyGroup.class}, message = "【id】必须 小于 100000000000L - 1 ")
    private Long id;


    private String ids;

    private List<Long> idList;



}
